package com.wanshi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wanshi.entity.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品信息表 Mapper 接口
 * </p>
 *
 * @author 顽石教育-www.wanshi.com
 * @since 2021-12-16
 */
public interface GoodsMapper extends BaseMapper<Goods> {

        List<Goods> findAllBySupId(String supplier_id);
        IPage<Goods> findPageGoods(@Param("page") IPage page, @Param("goods") Goods goods);

}
